package cn.acheng.cams.infrastructure.persistent.dao;

import cn.acheng.cams.infrastructure.persistent.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao {

    User selectUserByUsernameAndRole(@Param("username") String username, @Param("role") String role);

    void insert(User user);
}
